package net.wicp.tams.common.binlog.self.bean;

import lombok.Builder;
import lombok.Data;
import net.wicp.tams.common.constant.dic.YesOrNo;

@Data
@Builder
public class SendMoniter {
	private int insertNum;
	private int updateNum;
	private int deleteNum;
	private long sendTimes;// 发送用时
	private YesOrNo sendByTable;

	public long numPerMilSec() {
		return (insertNum + updateNum + deleteNum) / sendTimes;
	}
}
